package com.pilipili.dao;

import com.pilipili.pojo.Books;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface BookMapper {
    //查全部
     List<Books> selectAllBook();
    //查 部分
     List<Books> selectBook(Books books);
    //增
     int deleteBook(@Param("bookID")int bookID);
    //删
     int insertBook(Books books);
    //改
     int updateBook(Books books);

     int selectBookCount(@Param("type") String type);
}
